package com.ftg.learn.bus.user.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("用户表")
public class user {
    @TableId
    @ApiModelProperty(value = "用户名",required = true)
    public String user_id;

    @ApiModelProperty(value = "密码",required = true)
    @TableField(select = false)
    public String password;

    @ApiModelProperty(value = "姓名",required = true)
    public String name;

    @ApiModelProperty(value = "性别",required = true)
    public String sex;

    @ApiModelProperty(value = "年龄",required = true)
    public String age;

    @ApiModelProperty(value = "联系方式",required = true)
    public String contactway;

    @ApiModelProperty(value = "创建日期")
    public String createdate;

    @ApiModelProperty(value = "修改日期")
    public String updatedate;

}
